<extend name="Public/base"/>

<block name="body">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title">
        <h2>
            视频发布统计
            <button class="btn btn-default btn-return" onclick="javascript:history.back(-1);return false;"><i class="glyphicon glyphicon-share-alt"></i> 返 回</button>
        </h2>
    </div>
    <form action="" method="post" class="form">
        <div class="form-item form-group">
            <label class="item-label">开始日期<span class="check-tips"></span></label>
            <div class="controls">
                <input type="text" class="text input-small form-control time" name="from" value="{$from}" placeholder="开始日期">
            </div>
        </div>
        <div class="form-item form-group">
            <label class="item-label">结束日期<span class="check-tips"></span></label>
            <div class="controls">
                <input type="text" class="text input-small form-control time" name="to" value="{$to}" placeholder="结束日期">
            </div>
        </div>
        <div class="form-item form-group form-action">
            <button class="btn submit-btn btn-success btn-block" id="submit" type="submit" name="export" value="1" target-form="form">导出</button>
            <!-- <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button> -->
        </div>
    </form>
</block>

<block name="script">
    <link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
    <php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
    <link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
    <script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Team/index')}');
        $(function(){
            $('.time').datetimepicker({
                format: 'yyyy-mm-dd',
                language:"zh-CN",
                minView:0,
                autoclose:true
            });
        });
    </script>
</block>
